package cc.md888.app.application.proxy;

import cc.md888.app.infr.ip.IpInfoVO;
import cc.md888.app.model.proxy.ProxyInfoCmd;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class ProxyService {

    @Autowired
    private ProxyInfoLookup proxyInfoLookup;

    /**
     * 获取代理信息
     * @return
     */
    public IpInfoVO getProxyInfo(ProxyInfoCmd cmd){
        return proxyInfoLookup.lookup(cmd);
    }

}
